package com.web44.ssm.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.lang.reflect.Type;

/**
 * @Title: SpringConfig
 * @Description:
 * @Auther: py
 * @Version: 1.0
 * @create 2024/1/15 11:21
 */
@Configuration
@ComponentScan(value="com.web44.ssm",excludeFilters = {
        @ComponentScan.Filter(type  = FilterType.ANNOTATION,classes = Controller.class)
})
@Import(value={JdbcConfig.class, MybatisConfig.class})
@EnableTransactionManagement
public class SpringConfig {
}
